<%@page pageEncoding="utf-8"%>

<div class="navbar navbar-fixed-top">

	<div class="navbar-inner">

		<div class="container">

			<a class="btn btn-navbar" data-toggle="collapse"
				data-target=".nav-collapse"> <span class="icon-bar"></span> <span
				class="icon-bar"></span> <span class="icon-bar"></span>
			</a> <a class="brand" href="#"> 生鲜市场管理 </a>

			<div class="nav-collapse">
				<ul class="nav pull-right">
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown"><i class="icon-cog"></i> Aother <b
							class="caret"></b></a>
						<ul class="dropdown-menu">
							<li><a href="javascript:;">Help</a></li>
						</ul></li>
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown"><i class="icon-chevron-left"></i> 用户 <b
							class="caret"></b></a>
						<ul class="dropdown-menu">
							<li>
								<%
									if (session.getAttribute("s_user") == null) {
								%> <a
								href="${pageContext.request.contextPath}/login.do?method=0">登录</a> <%
								 	} else {
								 %> &nbsp;&nbsp; ${s_user.name }
								<%
									}
								%>
							</li>
							<li><a href="${pageContext.request.contextPath}/logout">登出</a></li>
						</ul></li>
				</ul>
			</div>
			<!--/.nav-collapse -->

		</div>
		<!-- /container -->

	</div>
	<!-- /navbar-inner -->

</div>
<!-- /navbar -->